<template>
  <div id="app">
    <div id="nav">
      <van-tabbar route active-color="red">
        <van-tabbar-item :to="{ name: 'Home' }" icon="eye-o"
          >发现音乐</van-tabbar-item
        >
        <van-tabbar-item :to="{ name: 'Music' }" icon="music-o" dot
          >我的音乐</van-tabbar-item
        >
        <van-tabbar-item :to="{ name: 'Friend' }" icon="friends-o" badge="5"
          >朋友</van-tabbar-item
        >
        <van-tabbar-item :to="{ name: 'User' }" icon="contact" badge="20"
          >账号</van-tabbar-item
        >
      </van-tabbar>
    </div>
    <router-view />
  </div>
</template>
<script>
export default {
  name: "Home",
  methods: {},
};
</script>

<style lang="scss">
* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #000;
}

ul {
  list-style: none;
}

.van-form {
  margin-top: 10vw;
}
.login h1 {
  display: block;
  text-align: center;
  margin-top: 7vw;
}
.van-nav-bar__title {
  font-size: 20px;
  font-weight: 800;
}
.login h1 {
  text-align: center;
  line-height: 3rem;
  margin-top: 2rem;
}

.login .van-form {
  margin-top: 10vw;
}
</style>
